libexpat1-dev, expat, help2man,
libxml2-utils,
libusb-dev, zlib1g-dev,
- libqtwebkit-dev | libqt4-dev (<= 4:4.7.0~beta1), libqt4-dev (>= 4:4.4.3)
+ libqtwebkit-dev | libqt4-dev (<= 4:4.7.0~beta1), libqt4-dev (>= 4:4.4.3),
+ imagemagick
Build-Depends-Indep: fop [!mips], xsltproc, docbook-xml,
docbook-xsl, libpaper-dev
Standards-Version: 3.8.4
--- /dev/null
+?package(gpsbabel-gui): needs="X11"\
+ section="Applications/Science/Geoscience"\
+ title="GPSBabel"\
+ icon="/usr/share/pixmaps/gpsbabel.xpm"\
+ command="/usr/bin/gpsbabelfe"
gpsbabel/gui/Makefile: $(QUILT_STAMPFN)
cd gpsbabel/gui && qmake-qt4
+debian/gpsbabel.xpm: gpsbabel/gui/images/appicon.png
+ convert -resize 32x32 $< $@
+
BUILD_TARGETS_ARCH = build-stamp build-gui-stamp debian/gpsbabel.1
BUILD_TARGETS_INDEP = build-doc-stamp
# indep targets are only built by binary-indep.
build: $(BUILD_TARGETS_ARCH)
-build-stamp: configure-stamp
+build-stamp: configure-stamp debian/gpsbabel.xpm
dh_testdir
# Add here commands to compile the package.
dh_testroot
rm -f *-stamp gpsbabel/dep gpsbabel/doc/*.ps
rm -rf gpsbabel/xmldoc/autogen
+ rm -f debian/gpsbabel.xpm
# Add here commands to clean up after the build process.
[ ! -f gpsbabel/Makefile ] || $(MAKE) -C gpsbabel clean
dh_installchangelogs -a
dh_installdocs -a
dh_installman -a
+ dh_installmenu -a
dh_strip -a
dh_compress -a
dh_fixperms -a